package com.message.dao;

import java.util.List;

public interface BaseDao {
	public Object getObject(Class<?> clazz, int id);
	public int Update(Object obj, int opt);
	public List<?> query(String hql, Object params);
	public List<?> query(String hql, Object params,int pageNow, int pageSize);
}
